#include<stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <iostream>

// 图的邻接表存储
#define MaxVertexNum 100
typedef char VertexType;
typedef struct ArcNode{
    int adjvex; //该弧所指的顶点的位置
    struct ArcNode *next;
}ArcNode;
typedef struct VNode{
    VertexType data;
    ArcNode *first;
}VNode, AdjList[MaxVertexNum];
typedef struct{
    AdjList vertices;
    int vexnum,arcnum;
}ALGraph;
